#ifndef _WARN_H_
#define _WARN_H_

#include "displayable.h"
#include "easy_str.h"
//#include <Ogre.h>
#include <OgreOverlayManager.h>
#include <OgreSceneManager.h>
#include "text_overlay.h"

class Warn:public Displayable 
{
private:
	int x,y;
	float time;
	int id;
	NAME content[50];//
	//char content[5][20];
	TextOverlay* pWarnTextOverlay;
	ImageInfo* pWarnImage;
		
public:
	
	Warn();
	void Init();

	void warnType(int _id);
	void work(float timepass);
	void draw (HDC hdc);
};
#endif